package com.ship.dispatch.bo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.List;

/**
 * 船舶信息
 *
 * @author AbyssRabbit@163.com
 * @since 2023-10-18
 */
@Data
public class ShipRentUpdateBo {

    /**
     * 船只IMO
     */
    @NotBlank(message = "船只IMO不能为空")
    @ApiModelProperty("船只IMO")
    private String imo;

    /**
     * 舱容
     */
    @ApiModelProperty("舱容")
    private BigDecimal storageCapacity;

    @NotNull(message = "租期信息不能为空")
    @ApiModelProperty("租期信息")
    private List<ShipRentUpdateDetailBo> rentTimeSlot;
}
